package cn.lirenyi.org.service.impl;

import cn.lirenyi.basic.service.IBaseService;
import cn.lirenyi.basic.service.impl.BaseServiceImpl;
import cn.lirenyi.basic.util.PageList;
import cn.lirenyi.org.domain.Department;
import cn.lirenyi.org.mapper.DepartmentMapper;
import cn.lirenyi.org.query.DepartmentQuery;
import cn.lirenyi.org.service.IDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class DepartmentServiceImpl extends BaseServiceImpl<Department> implements IDepartmentService {

    @Autowired
    private DepartmentMapper departmentMapper;

    @Override
    public List<Department> queryTree() {
        return departmentMapper.queryTree();
    }


}

